package fr.jgraph.model.edge;

public class MarkableEdge extends EdgeDecorator {
	private static final boolean DEFAULT_MARK = false;
	
	private boolean mark;
	
	protected MarkableEdge(Edge e) {
		this(e,DEFAULT_MARK);
	}
	
	protected MarkableEdge(Edge e, boolean mark) {
		super(e);
		setMark(mark);
	}

	public boolean isMark() {
		return mark;
	}

	public void setMark(boolean mark) {
		this.mark = mark;
	}
}
